{extend name='user/public/layout' /}
{block name='content'}
<div class="overflow_h">
    <div class="screen">
        <div class="screen_box01 overflow_h">
            <ul>
                <li><a href="{:url('user.used/index')}">二手房列表</a></li>
                <li><a href="{:url('user.used/add')}">添加二手房</a></li>
                <li><a href="{:url('user.used/message')}" class="on">二手房留言</a></li>
            </ul>
        </div>
    </div>
    <div class="user-nav">
        <div class="Mtitle">
            <ul>
                <li class="on"><span>二手房留言</span></li>
            </ul>
            <div class="rightWord">二手房留言 &gt;&gt; 查看详细</div>
        </div>
        <form method="post" action="{:url('user.used/editMsgDo')}">
            <input type="hidden" name="id" value="{$info.id}">
            <div class="con_div">
                <ul>
                    <li><label>留言类型:</label><span class="green">{:baomingType($info['type'])}</span></li>
                    <li><label>所属楼盘:</label><span>{$info.house_title}</span></li>
                    <li><label>联系姓名:</label><span>{$info.name}</span></li>
                    <li><label>联系电话:</label><span>{$info.phone}</span></li>
                    <li><label>留言时间:</label><span>{$info.create_time|date='Y-m-d H:i:s',###}</span></li>
                    <li><label>备注内容:</label><span>{$info.memo}</span></li>
                    <li><label>是否联系:</label><span>
                        <select name="status">
                            <option {if condition="$info.status eq 1"} selected="selected" {/if} value="1">已联系</option>
                            <option {if condition="$info.status eq 0"} selected="selected" {/if} value="0">未联系</option>
                        </select>
                    </span></li>
                    <li style="height: 100px;"><label>管理备注:</label><span><textarea name="info" style="width: 600px;height: 80px;border: 1px #c2ccd1 solid">{$info.info}</textarea></span></li>
                    <li>
                        <label>&nbsp;</label>
                        <input class="submit" style="width:150px;" type="submit" value="保存">&nbsp;&nbsp;
                        <input class="submit" style="background-color: #ccc;" type="button" onclick="location.href='{:url('user.used/message')}'" value="返回">
                    </li>
                </ul>
            </div>
        </form>
    </div>
</div>

{/block}